package cn.wenlihelp.bean;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName article
 */
@Data
public class Article implements Serializable {
    /**
     * 文章id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 创建时间（发布时间）
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除(1:已删除，0:未删除)
     */
    private Boolean isDelete;

    /**
     * 文章内容
     */
    private String contentArticle;

    private static final long serialVersionUID = 1L;


    public Article(){

    }
    public Article(int i, int i1, String content) {
        this.id=i;
        this.userId=i1;
        this.contentArticle=content;
    }
}